package org.jeecg.modules.xj.qrcode.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Select;
import org.jeecg.modules.xj.qrcode.entity.XjQrCode;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.springframework.data.repository.query.Param;

/**
 * @Description: 二维码表
 * @Author: jeecg-boot
 * @Date:   2023-08-12
 * @Version: V1.0
 */
public interface XjQrCodeMapper extends BaseMapper<XjQrCode> {

    @Select(" SELECT image from xj_qr_code where source_id=#{sourceId}")
    String getQrCodeFile(@Param("sourceId") String sourceId);
}
